From 8ecba899916aab7956ca9850c89d346fab24ae55 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 7 Jan 2016 13:24:32 -0500 Subject: [PATCH] color swatch: Remove a stray frame When using a gadget, the border is free, no need to call gtk_render_frame ourselves. --- gtk/gtkcolorswatch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c index 72526bf51c..4f31f6ebad 100644 --- a/gtk/gtkcolorswatch.c +++ b/gtk/gtkcolorswatch.c @@ -154,8 +154,6 @@ gtk_color_swatch_render (GtkCssGadget *gadget, cairo_fill (cr); } - gtk_render_frame (context, cr, x, y, width, height); - gtk_css_gadget_draw (swatch->priv->overlay_gadget, cr); return gtk_widget_has_visible_focus (widget); -- 2.30.2